//
//  Common.swift
//  ZQWeibo
//
//  Created by summer的Dad on 16/11/15.
//  Copyright © 2016年 summer的Dad. All rights reserved.
//

import Foundation
import UIKit
//  App Secret: 65a84cec0481a1bebcac9ee4b3f417a3

//  App Key:    1943605865
//  App

//第三方登录授权配置信息
let client_id = "1943605865"
let client_secret = "65a84cec0481a1bebcac9ee4b3f417a3"
let redirect_uri = "http://www.baidu.com"


//let screenHeight = UIScreen.main.bounds.height
let kRootViewController = "kRootViewController"


let ErrorTip = "世界上最遥远的距离就是,有网手机坏了!"

//屏幕的尺寸信息
let ScreenWidth = UIScreen.main.bounds.width

let ScreenHeight = UIScreen.main.bounds.height

let navBarHeight : CGFloat = 64

func randomColor() -> UIColor {
    let r = CGFloat(arc4random() % 256) / 255.0
    let g = CGFloat(arc4random() % 256) / 255.0
    let b = CGFloat(arc4random() % 256) / 255.0
    return UIColor(red: r, green:g, blue: b, alpha: 1)
}
